import 'config_item.dart';
import 'configs.dart';

class EncryptConfigs extends Configs {
  late final ffmpegExePath = ConfigItem<String?>(
    name: 'FFMPEG可执行文件路径',
    box: Configs.box,
    key: 'encrypt.exePath',
    defValue: null,
  );

  late final ffmpegExeMd5 = ConfigItem<String?>(
    box: Configs.box,
    key: 'encrypt.exeMd5',
    defValue: null,
  );

  late final maxRunningTaskCount = ConfigItem(
    name: '最大任务数量',
    box: Configs.box,
    key: 'encrypt.maxRunningTaskCount',
    defValue: 4,
  );

  @override
  void reset() {
    ffmpegExePath.reset();
    maxRunningTaskCount.reset();
  }
}
